package com.wmz.crm.workbench.mapper;

import com.wmz.crm.workbench.entity.Contacts;

import java.util.List;

public interface ContactsMapper {
    int deleteByPrimaryKey(String id);

    int insert(Contacts row);

    int insertSelective(Contacts row);

    Contacts selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Contacts row);

    int updateByPrimaryKey(Contacts row);

    //把线索中有关个人的信息转换到联系人表中
    int insertContactsFromClue(Contacts contacts);

    //根据name模糊查询联系人的信息
    List<Contacts> selectContactsByName(String name);

}
